package nl.virtualbookshelf.domain

import reflect.BeanProperty

class Author(@BeanProperty var surname: String, @BeanProperty var firstName: String) {
  override def toString: String = "Author name=[" + firstName + " " + surname + "]"

  def this(surname: String) = {
    this(surname, "")
  }
}